﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QLNHDAO
{
    public class NhomMonAnDAO:Repository<NhomMonAn>
    {
        public NhomMonAn GetByID(int manhom)
        {         
            return All().Where(m => m.MaNhomMonAn == manhom).Single();
        }
    }
}
